package com.kingtsoft.study.persist;

import com.kingtsoft.study.model.StudyUser;
/**
 * 
 * @ClassName: StudyUserMapper 
 * @Description: 用户mapper
 * @author: shenlx
 * @date: 2017年3月28日 下午5:18:42
 */
public interface StudyUserMapper {
   
    int deleteByPrimaryKey(String id);

    int insert(StudyUser record);

    int insertSelective(StudyUser record);

    StudyUser selectByPrimaryKey(String id);
    
    /**
     * 
     * @Title: selectByUserName 
     * @Description: 根据用户名查询用户
     * @author: shenlx
     * @param username
     * @return
     * @return: StudyUser
     */
    StudyUser selectByUserName(String username);

    int updateByPrimaryKeySelective(StudyUser record);

    int updateByPrimaryKey(StudyUser record);
}